package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.StockBasicBean;

/**
* 描述：获取基础信息数据，包括股票代码、名称、上市日期、退市日期等
* @author: codesmith
**/
@Data
@TableName("stock_basic")
public class StockBasicEntity implements StockBasicBean {

    @TableField(value = "primary_id") protected Integer primaryId;
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`symbol`") protected String symbol;

    @TableField("`name`") protected String name;

    @TableField("`area`") protected String area;

    @TableField("`industry`") protected String industry;

    @TableField("`fullname`") protected String fullname;

    @TableField("`enname`") protected String enname;

    @TableField("`market`") protected String market;

    @TableField("`exchange`") protected String exchange;

    @TableField("`curr_type`") protected String currType;

    @TableField("`list_status`") protected String listStatus;

    @TableField("`list_date`") protected LocalDate listDate;

    @TableField("`delist_date`") protected LocalDate delistDate;

    @TableField("`is_hs`") protected String isHs;
}